package com.sky.aspect;

import lombok.extern.slf4j.Slf4j;
import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.Aspect;
import org.springframework.stereotype.Component;

/**
 * 公共字段填充切面类
 *
 * @Author mr.lcc
 * @Data 2025/5/19 13:37
 */
@Aspect
@Component
@Slf4j
public class AutoFillAspect {

    /**
     * 定义切面类的切入点
     */
    //@Pointcut("execution(* com.sky.mapper.*.*(..)) && @annotation(com.sky.annotation.AutoFill)")
    public void autoFillPointCut() {
    }

    //@Before("autoFillPointCut()")
    public void autoFill(JoinPoint joinPoint) {
        log.info("开始自动切面类填充！");
    }
}
